package cn.yitun.chat.yitunserverimapicore.business.setting.action;

import cn.yitun.chat.yituncommonmessage.result.ResultMessage;
import cn.yitun.chat.yitungeneral.annotation.action.ActionMapping;
import cn.yitun.chat.yitunservercommonlib.constant.ActionTypeConstant;
import cn.yitun.chat.yitunservercommonlib.util.R;
import cn.yitun.chat.yitunservercommonmessage.data.setting.ChatSetting;
import org.springframework.stereotype.Component;

/**
 * Date 2019-04-20 14:30:29<br>
 * Description
 * @author yitun<br>
 * @version 1.1
 */
@Component
@ActionMapping(value = ActionTypeConstant.FILE_SETTING_ACTION_PUSH)
public class SettingAction {

	/**
	 * 图片上传设置
	 */
	@ActionMapping(value = "1.1.0001")
	public Object getSetting() {
		return new ResultMessage(R.param("chatSetting", new ChatSetting()));
	}
}
